keys

pure function keys(): set<K>

Returns a set containing the keys of this map.

Examples:

  • [1: 'a', 2: 'b', 3: 'c'].keys() returns set([1, 2, 3]).

  • map<K,V>().keys() returns set() (where K and V are valid types).

Since

0.6.0